package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the ASIENTOS_RECTIFICA database table.
 * 
 */
//@Entity
//@Table(name="ASIENTOS_RECTIFICA")
public class AsientosRectifica implements Serializable {
	private static final long serialVersionUID = 1L;
	private String areaRegId;
	private String coActoGral;
	private String coActoRgstOrig;
	private String coLibrGral;
	private String coLibrOrig;
	private String coOficRgst;
	private String coRegi;
	private Date fecProc;
	private String fgActu;
	private String fgExonPub;
	private BigDecimal nsAsie;
	private String nuPart;

    public AsientosRectifica() {
    }


	@Column(name="AREA_REG_ID", length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="CO_ACTO_GRAL", length=5)
	public String getCoActoGral() {
		return this.coActoGral;
	}

	public void setCoActoGral(String coActoGral) {
		this.coActoGral = coActoGral;
	}


	@Column(name="CO_ACTO_RGST_ORIG", nullable=false, length=5)
	public String getCoActoRgstOrig() {
		return this.coActoRgstOrig;
	}

	public void setCoActoRgstOrig(String coActoRgstOrig) {
		this.coActoRgstOrig = coActoRgstOrig;
	}


	@Column(name="CO_LIBR_GRAL", length=3)
	public String getCoLibrGral() {
		return this.coLibrGral;
	}

	public void setCoLibrGral(String coLibrGral) {
		this.coLibrGral = coLibrGral;
	}


	@Column(name="CO_LIBR_ORIG", nullable=false, length=3)
	public String getCoLibrOrig() {
		return this.coLibrOrig;
	}

	public void setCoLibrOrig(String coLibrOrig) {
		this.coLibrOrig = coLibrOrig;
	}


	@Column(name="CO_OFIC_RGST", nullable=false, length=2)
	public String getCoOficRgst() {
		return this.coOficRgst;
	}

	public void setCoOficRgst(String coOficRgst) {
		this.coOficRgst = coOficRgst;
	}


	@Column(name="CO_REGI", nullable=false, length=2)
	public String getCoRegi() {
		return this.coRegi;
	}

	public void setCoRegi(String coRegi) {
		this.coRegi = coRegi;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FEC_PROC")
	public Date getFecProc() {
		return this.fecProc;
	}

	public void setFecProc(Date fecProc) {
		this.fecProc = fecProc;
	}


	@Column(name="FG_ACTU", length=1)
	public String getFgActu() {
		return this.fgActu;
	}

	public void setFgActu(String fgActu) {
		this.fgActu = fgActu;
	}


	@Column(name="FG_EXON_PUB", length=1)
	public String getFgExonPub() {
		return this.fgExonPub;
	}

	public void setFgExonPub(String fgExonPub) {
		this.fgExonPub = fgExonPub;
	}


	@Column(name="NS_ASIE", nullable=false, precision=5)
	public BigDecimal getNsAsie() {
		return this.nsAsie;
	}

	public void setNsAsie(BigDecimal nsAsie) {
		this.nsAsie = nsAsie;
	}


	@Column(name="NU_PART", nullable=false, length=8)
	public String getNuPart() {
		return this.nuPart;
	}

	public void setNuPart(String nuPart) {
		this.nuPart = nuPart;
	}

}